Data types in C#

In programming languages ​​like C #, the data type is used everywhere because it is a strongly typed language, you must inform the compiler that every time you declare a variable, what data do you use As you will see in variable chapters, in this chapter we will take a look at some of the most commonly used data types and how they will work.

Bull is one of the simplest data types, it can contain only 2 values ​​- it is important to understand the wrong type or wrong type when logical operators use such statements.

int is a small integer, data type to store numbers without a decimal. When working with numbers, int is the most commonly used data type. Within the many data types of Integers, C #, which they should store, depending on the size of their size.

The string is used to store the text, which is C # in many letters, the string is irreversible, which means that the wire can never be changed after it is created. When using string modifiers, the actual string does not change - a new string has been returned.

Used to store four single characters

Float is one of the data types, which can be used to store numbers, which can not be included in decimal or not.